<?php
/**
 * The Header for the theme.
 *
 * Displays all of the <head> section and everything up till <section id="main" class="content">
 *
 * @package WordPress
 * @subpackage WhitePaper
 * @since WhitePaper 1.0
 */
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
	<head>
		<meta charset="UTF-8" />
		<meta name="description" content="<?php bloginfo('description'); ?>" />
		<meta name="keywords" content="<?php bloginfo('keywords'); ?>" />
		<meta name="author" content="<?php bloginfo('author'); ?>" />
		<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
		<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
		<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS 2.0 Feed" href="<?php bloginfo('rss2_url')?>" />
		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
		<!--[if lt IE 9]>
		<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
		<![endif]-->
	<?php
		/* We add some JavaScript to pages with the comment form
	 * to support sites with threaded comments (when in use).
	 */
		if ( is_singular() && get_option( 'thread_comments' ) )
			wp_enqueue_script( 'comment-reply' );
		wp_head(); 
	?>
	</head>
	<body <?php body_class(); ?>>
		<div id="page" class="container">
			<header id="head" role="banner">
				<hgroup>
					<h1 class="logo"><a href="<?php bloginfo('url'); ?>"><?php bloginfo("name"); ?></a></h1>
				</hgroup>
				<nav id="topnav">
					<?php wp_nav_menu(); ?>
					<div class="search_item">
						<form method="get" id="search" action="<?php echo esc_url( home_url( '/' ) ); ?>">
							<input type="text" id="search_text" value="" placeholder="Search" name="s" />
							<input type="submit" id="search_button" value="go" />
						</form>
					</div>
				</nav>
			</header>